const Koa = require("koa");

//版本更新
const {koaBody} = require("koa-body");

const userRouter = require("../router/modules/user");

const app = new Koa();


app.use(koaBody());

app.use(userRouter.routes());

module.exports = app;